<html>
<head>
</head>
<body>
<div class="container">
    {% for item in items %}
    <div class="item">
        <p class="center"><span class="num">{{ item.id }}</span></p>
        <p></p>
        <div class="row">
            <span>Q:   {{ item.q }}</span>
        </div>
        <p></p>
        <div class="row">
            <span>A:   {{ item.a }}</span>
        </div>
        <p></p>
        <p></p>
    </div>
    {% endfor %}
</div>
</body>

<style>
    ol {
        padding: 0;
    }

    li {
        list-style: none;
    }

    .num {
        color: white;
        background: #2980B9;
        display: inline-block;
        text-align: center;
        margin: 5px 10px;
        line-height: 30px;
        width: 30px;
        height: 30px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 15px;
        box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.3);

    }

    .item {
        margin-bottom: 30px;
    }

    .row {
        margin-left: 10px;
        margin-right: 10px;
        width: 380px;
        margin-top: 20px;
    }

    .row::after {
        clear: both;
        content: "";
        display: block;
    }

    .center {
        text-align: center;

    }

    .container {
        margin-top: 50px;
        width: 400px;
        height: 2000px;
    }

    .qa-left {
        font-size: 16px;
        width: 30px;
        float: left;
    }

    .qa-right {
        float: left;
        width: 350px;
    }
</style>
</html>
